package edu.sctu.practice.class02.hujie.cgs.practice02.test17;

/**
 * Created by hj on 2015/10/26.
 */
/*继承*/
public class Father {
    public int money;
    public int car;

    public Father() {
        this.money = 10000;
        this.car = 1;
    }

    public void runcar() {
        System.out.println("法拉利跑车");
    }

    public void eat() {
        System.out.println("法式大餐");
    }
}
